package com.spica.spicaschool.initializer

import android.app.Application
import android.content.Context
import androidx.startup.Initializer
import com.qmuiteam.qmui.arch.QMUISwipeBackActivityManager

/**
 * 初始化QMUI
 */
@Suppress("unused")
class QMUIInitializer : Initializer<Unit> {
    override fun create(context: Context) {
        QMUISwipeBackActivityManager.init(context.applicationContext as Application)
    }

    override fun dependencies(): List<Class<out Initializer<*>>> = emptyList()
}
